home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
tctutor2
/
while.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-07-04
|
266b
|
14 lines
/* Chapter 3 - Program 1 */
/* This is an example of a "while" loop */
main()
{
int count;
count = 0;
while (count < 6) {
printf("The value of count is %d\n",count);
count = count + 1;
}
}